package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.CategorySpec;
import com.weixing.mall.provider.model.dto.CategorySpecDto;
import com.weixing.mall.provider.model.query.CategorySpecQuery;
import com.weixing.mall.provider.model.vo.CategorySpecVo;

import java.util.List;

/**
 * <p>
 * 商品模块-商品类目规格关联表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface ICategorySpecService extends IService<CategorySpec> {

    /**
     * @Description 保存类目规格 <br/>
     * @author gjq
     * @date 2019/8/12 13:32
     * @param categorySpecDto
     * @return void
     */
    void save(CategorySpecDto categorySpecDto);

    /**
     * @Description 条件查询类目规格 <br/>
     * @author gjq
     * @date 2019/8/12 13:33
     * @param categorySpecQuery
     * @return java.util.List<com.weixing.mall.provider.model.vo.CategorySpecVo>
     */
    List<CategorySpecVo> selectList(CategorySpecQuery categorySpecQuery);
}
